package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 白名单对象 parking_white
 * 
 * @author ruoyi
 * @date 2025-11-04
 */
public class ParkingWhite extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 白名单主键ID */
    private Long whiteId;

    /** 停车场ID */
    @Excel(name = "停车场ID")
    private Long parkId;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carNum;

    /** 车主姓名 */
    @Excel(name = "车主姓名")
    private String owner;

    /** 车主电话 */
    @Excel(name = "车主电话")
    private String ownerTel;

    /** 有效开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validStartTime;

    /** 有效结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validEndTime;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 下发状态 */
    @Excel(name = "下发状态")
    private String issuanceStatus;

    /** $column.columnComment */
    private String delFlag;

    public void setWhiteId(Long whiteId) 
    {
        this.whiteId = whiteId;
    }

    public Long getWhiteId() 
    {
        return whiteId;
    }
    public void setParkId(Long parkId) 
    {
        this.parkId = parkId;
    }

    public Long getParkId() 
    {
        return parkId;
    }
    public void setCarNum(String carNum) 
    {
        this.carNum = carNum;
    }

    public String getCarNum() 
    {
        return carNum;
    }
    public void setOwner(String owner) 
    {
        this.owner = owner;
    }

    public String getOwner() 
    {
        return owner;
    }
    public void setOwnerTel(String ownerTel) 
    {
        this.ownerTel = ownerTel;
    }

    public String getOwnerTel() 
    {
        return ownerTel;
    }
    public void setValidStartTime(Date validStartTime) 
    {
        this.validStartTime = validStartTime;
    }

    public Date getValidStartTime() 
    {
        return validStartTime;
    }
    public void setValidEndTime(Date validEndTime) 
    {
        this.validEndTime = validEndTime;
    }

    public Date getValidEndTime() 
    {
        return validEndTime;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setIssuanceStatus(String issuanceStatus) 
    {
        this.issuanceStatus = issuanceStatus;
    }

    public String getIssuanceStatus() 
    {
        return issuanceStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("whiteId", getWhiteId())
            .append("parkId", getParkId())
            .append("carNum", getCarNum())
            .append("owner", getOwner())
            .append("ownerTel", getOwnerTel())
            .append("validStartTime", getValidStartTime())
            .append("validEndTime", getValidEndTime())
            .append("deptId", getDeptId())
            .append("issuanceStatus", getIssuanceStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
